package com.cangxuan.app.entity;

import java.io.Serializable;

/**
 * Author: 陈青石
 * 测试实体类 挂单
 */
public class Registration implements Serializable {
    private int id;
    private int userId;
    private int price;
    private int count;
    private int goodsId;
    private boolean checked;
    private boolean clicked;
    private int buyerId;

    public Registration() {
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public int getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(int buyerId) {
        this.buyerId = buyerId;
    }

    public boolean isClicked() {
        return clicked;
    }

    public void setClicked(boolean clicked) {
        this.clicked = clicked;
    }

    @Override
    public String toString() {
        return "Registration{" +
                "id=" + id +
                ", userId=" + userId +
                ", price=" + price +
                ", count=" + count +
                ", goodsId=" + goodsId +
                ", checked=" + checked +
                ", clicked=" + clicked +
                ", buyerId=" + buyerId +
                '}';
    }
}
